/// Files: drivers/hwmon/amd_energy.c
/// Fix: 60268b0e8258fdea9a3c9f4b51e161c123571db3
/// Fixes: 8abee9566b7e8eecf566c4daf6be062a27369890

virtual detect

@err@
position p;
@@

amd_energy_is_visible(...)
{
*	return 0444;@p
}

@script:python depends on detect@
p << err.p;
@@

coccilib.report.print_report(p[0])
